/*
 * Copyright (c) csii.com.cn 2016 zhaojin
 */

package com.csii.ssm.common;

import com.csii.ssm.dto.Token;

/**
 * @author zhaojin 15398699939@163.com
 * @create 2016-08-13-22:07
 */

public class Dict {


    private static final String PRIFIXURL = "http://localhost:8080/payment-access";

   /* public static final String GETACCESSLOGINTOKENURI = PRIFIXURL+"/generateAccessToken?appid=APPID&secret=SECRET";
    public static final String GETACCESSSECRETKEY = PRIFIXURL+"/getAccessSecretKey?encryptUniqueID=ENCRYPTUNIQUEID";
    public static final String GETACCESSLOGINURI = PRIFIXURL+"/getAccessLoginURI?userEncryptData=USERENCRYPTDATA";


    public static final String APPID = "TIANHONG_APPID";
    public static final String SECRET = "TIANHONG_SECRET";
    public static final String KEY = "Key";


    public static Token token;*/

    public static final String RET_SUCCESS = "0000";
    public static final String RET_SUCCESS_MSG = "交易成功";
    public static final String RET_FAIL = "4444";
    public static final String RET_FAIL_MSG = "交易失败";

    /**
     * 流水状态 0：正常 1：异常
     */
    public static final String JNL_STATUS_OK = "0";
    public static final String JNL_STATUS_ERROR = "1";

    /**
     * 天虹用户Session key
     */
    public static final String LOGINUSER = "loginUser";
    public static final String PAYORDER = "payOrder";
    public static final String CURPJNL = "curPjnl";
    public static final String CURPJNL_ID = "curPjnlId";

    /**
     * 登录类型：授权类型，支付
     */
    public static final String LOGINTYPE_AUTH = "authlogin";
    public static final String LOGINTYPE_PAY = "authpay";
    public static final String LOGINTYPE = "loginType";

    /**
     * 交易流水参数
     */
    public static final String ID = "id";
    public static final String TRANSCODE = "transCode";
    public static final String RETCODE = "retCode";
    public static final String RETMSG = "retMsg";
    public static final String ACCESSIP = "accessIp";
    public static final String MEMO = "meMo";
    public static final String OID = "oid";
    public static final String TRSAMT = "trsAmt";
    public static final String PJNL_STATUS = "pjnlStatus";


    /**
     * 前置交易码
     */
    public static final String TRS_GETSMSTOKEN = "getSmsToken";                   //获取短信验证码
    public static final String TRS_OPENPAYFUNCONFIRM = "openPayFunConfirm";     //支付功能开通
    public static final String TRS_OPENPAYFUNQRY = "openPayFunQry";              //支付功能开通情况查询
    public static final String TRS_CLOSEPAYCONFIRM = "closePayConfirm";         //关闭支付功能
    public static final String TRS_OPENPAYCONFIRM = "openPayConfirm";           //打开支付功能
    public static final String TRS_BINDCARDCONFIRM = "bindCardConfirm";         //绑定储值卡：
    public static final String TRS_UNBINDCARDCONFIRM = "unbindCardConfirm";     //解除绑定储值卡
    public static final String TRS_MODIFYTRSPWDCONFIRM = "modifyTrsPwdConfirm"; //交易密码修改
    public static final String TRS_RESETTRSPWDCONFIRM = "resetTrsPwdConfirm";   //重置/设置密码
    public static final String TRS_MODIFYPAYFUNCONFIRM = "modifyPayFunConfirm"; //支付账户修改
    public static final String TRS_PAYFUNDETAQRY = "payFunDetaQry";              //支付账户详细情况查询
    public static final String TRS_TRSPWDVALIDATE = "trsPwdValidate";            //交易密码验证
    public static final String TRS_GETUNLINEQRCODE = "getUnlineQrCode";          //请求付款码
    public static final String TRS_ORDERCONSUME = "orderConsume";                 //订单消费
    public static final String TRS_PAYORDERREVOKE = "payOrderRevoke";            //支付订单撤销
    public static final String TRS_PAYPREDICT = "payPredict";                     //支付预判
    public static final String TRS_RECHARGECALLBACK4ALIPAYSERVERCONFIRM = "rechargeCallBack4AlipayServerConfirm";//虹包账户预充值
    public static final String TRS_RECHARGEORDERACTIVATE = "rechargeOrderActivate";//充值订单激活
    public static final String TRS_RECHARGEORDERREVOKE = "rechargeOrderRevoke";     //充值订单撤销
    public static final String TRS_ORDERTRACKING = "orderTracking";                  //订单查询
    public static final String TRS_PAYTOKENREQUEST = "payTokenRequest";             //支付令牌请求

}
